package com.hqyj.javaGraduation.hotel.service;

import com.alipay.api.domain.Shop;
import com.hqyj.javaGraduation.hotel.pojo.UtMenuInfo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.HashMap;
import java.util.List;

public interface UtMenuInfoService {

    //客户点菜
    HashMap<String,Object> insertMenuByUserId(UtMenuInfo utMenuInfo);

    // 查询客户购物车信息
    HashMap<String, Object> queryAllMenuInfo(UtMenuInfo utMenuInfo);

    // 客户加菜
    int addMenuByUtMenuInfo(UtMenuInfo utMenuInfo);

    // 客户从购物车取消菜品
    int deleteMenuByUtMenuInfo(UtMenuInfo utMenuInfo);

    // 给厨房打印订单
    HashMap<String, Object> queryAllUtMenuInfo(UtMenuInfo utMenuInfo);

    // 修改支付状态
    int updateUtMenuInfoState(UtMenuInfo utMenuInfo);
}
